class Time {
public:
  //  Constructors
  Time();
  Time(int aHour, int aMin, int aSec);

  //  Assignment and change
  void setHour( int aHour );
  void setMin( int aMin );
  void setSec( int aSec );

  //  Access individual values
  int getHour() const;
  int getMin() const;
  int getSec() const;

  //  Output as h:min.sec
  void printAmPm() const;


private:  //  Member variables
  int hour;
  int min;
  int sec;
};

bool IsEarlierThan( const Time & t1, const Time & t2 );
